/**
 * 地址相关actions
*/
import {
    GET_ADDRESS_LIST_ASYNC,
    GET_DEFAULT_ADDRESS_ASYNC,
} from "./actionsTypes";

// 获取默认地址
export const getDefaultAddressAsync = (data, callback) => ({ type: GET_DEFAULT_ADDRESS_ASYNC, data, callback });

// 获取地址列表
export const getAddressListAsync = (data, callback) => ({ type: GET_ADDRESS_LIST_ASYNC, data, callback });